﻿using Microsoft.AspNetCore.Mvc;
using RobosimAPI.Class;

namespace RobosimAPI.Controllers
{
	[Route("back/Api2/Client/submitScoreDetail")]
	public class SubmitScoreDetailController : ControllerBase
	{
		[HttpPost]
		public IActionResult SubmitScoreDetail([FromForm] ScoreDetailModel model)
		{
			return Ok("Score Detail Submitted");
		}
		public class ScoreDetailModel
		{
			public int user_id { get; set; }
			public int group_id { get; set; }
			public int map_id { get; set; }
			public string? building_file { get; set; }
			public string? program_file { get; set; }
		}
	}
}
